package objects;

public class Event {
	
	private String start;
	private String end;
	private String summary;
	private boolean isDeadline;
	private String warningDate; // optional
	private String moreInformation;
	
	
	public Event(String start, String end, String summary, boolean isDeadline, 
			String warn, String moreInfo) {
		
		this.start = start;
		this.end = end;
		this.summary = summary;
		this.isDeadline = isDeadline;
		this.warningDate = warn;
		this.moreInformation = moreInfo;
	}
	
	public String getStart() {
		return this.start;
	}
	
	public String getEnd() {
		return this.end;
	}
	
	public String getSummary() {
		return this.summary;
	}
	
	public String getIsDeadline() {
		if (this.isDeadline) {
			return "T";
		} else {
			return "F";
		} 
	}
	
	public String getWarningDate() {
		return this.warningDate;
	}
	
	public String getMoreInformation() {
		return this.moreInformation;
	}
	
}
